#include <iostream>
#include <Windows.h>

using namespace std;

void gotoxy(int x,int y);

int main() {
	gotoxy(10,20);
	cout << "Hello";
	gotoxy(30,50);
	cout << "Dinh Hong Phi";
	return 0;
}

void gotoxy(int x, int y) {
	COORD position;
	position.X = x;
	position.Y = y;
	SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),position);
}
